/*    */ package competitie;
/*    */ 
/*    */ class Coordinaat
/*    */ {
/*    */   private int x;
/*    */   private int y;
/*    */ 
/*    */   Coordinaat(int x, int y)
/*    */   {
/* 12 */     this.x = x;
/* 13 */     this.y = y;
/*    */   }
/*    */ 
/*    */   int getX() {
/* 17 */     return this.x;
/*    */   }
/*    */ 
/*    */   int getY() {
/* 21 */     return this.y;
/*    */   }
/*    */ 
/*    */   void verschuifInRichting(Richting r) {
/* 25 */     this.x += r.getVeranderingX();
/* 26 */     this.y += r.getVeranderingY();
/*    */   }
/*    */ 
/*    */   Coordinaat getKopie() {
/* 30 */     return new Coordinaat(this.x, this.y);
/*    */   }
/*    */ 
/*    */   boolean equals(Coordinaat c) {
/* 34 */     int x = c.getX();
/* 35 */     int y = c.getY();
/* 36 */     return (this.x == x) && (this.y == y);
/*    */   }
/*    */ }

/* Location:           /Users/abaart/Downloads/competitie(2).jar
 * Qualified Name:     competitie.Coordinaat
 * JD-Core Version:    0.6.0
 */